﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace TRINHTUNGLAM.OOP.EX3
{
    public partial class VIEWS : Form
    {
        public VIEWS()
        {
            InitializeComponent();
        }

        private void button1_Click(object sender, EventArgs e)
        {
            CONTROLLERS obj = new CONTROLLERS();
            Entity objEntity = new Entity();
            objEntity.thang = double.Parse(txtthang.Text);
            objEntity.nam = double.Parse(txtnam.Text);

            txtkq.Text ="" + obj.ChuyendoiControllers(objEntity);
        }
    }
}
